<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="g" uri="/g-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>Login demo</title>
  </head>
  <body>
  	<g:message/>
    <form action="login.shtml" method="post">
    	<input type="text" name="username" value="${username }" /><g:fielderror name="username"/> <br/>
    	<input type="text" name="password" value="${username }" /><g:fielderror name="password"/> <br/>
    	<input type="submit" value="登录" />
    </form>
  </body>
</html>